package com.huadi.firematerialident.po;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class FireInfo {
    private String FireInfoID;
    private String FireType;
    private String FireLevel;
    private LocalDate FireTime; //改成了localDate
    private String FireAdd;
    private String MoreInfo;
    private String ArchivingStatus;
    private boolean LogicalAddDel;
    private LocalDateTime LastModification;

    public String getFireInfoID() {
        return FireInfoID;
    }

    public void setFireInfoID(String fireInfoID) {
        FireInfoID = fireInfoID;
    }

    public void setFireInfoID() {
        long time=System.currentTimeMillis();
        String s= String.valueOf(time);
        String ss=s.substring(3);
        this.FireInfoID = "F"+ss;
    }

    public String getFireType() {
        return FireType;
    }

    public void setFireType(String fireType) {
        FireType = fireType;
    }

    public String getFireLevel() {
        return FireLevel;
    }

    public void setFireLevel(String firelevel) {
        FireLevel = firelevel;
    }

    public LocalDate getFireTime() {
        return FireTime;
    }

    public void setFireTime(LocalDate fireTime) {
        FireTime = fireTime;
    }

    public String getFireAdd() {
        return FireAdd;
    }

    public void setFireAdd(String fireAdd) {
        FireAdd = fireAdd;
    }

    public String getMoreInfo() {
        return MoreInfo;
    }

    public void setMoreInfo(String moreInfo) {
        MoreInfo = moreInfo;
    }

    public String getArchivingStatus() {
        return ArchivingStatus;
    }

    public void setArchivingStatus(String archivingStatus) {
        ArchivingStatus = archivingStatus;
    }

    public boolean isLogicalAddDel() {
        return LogicalAddDel;
    }

    public void setLogicalAddDel(boolean logicalAddDel) {
        LogicalAddDel = logicalAddDel;
    }

    public LocalDateTime getLastModification() {
        return LastModification;
    }

    public void setLastModification(LocalDateTime lastModification) {
        LastModification = lastModification;
    }
}
